﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QuitStatistic.aspx.cs" Inherits="QuitStatistic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>退库物资统计查询</title>
</head>
<body background ="../../images/物资右侧背景.jpg"  style="font-size:9pt">
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" style="height: 149px; width: 65%;" align="center">
           
            <tr>
                <td style="width: 160px; height: 22px">
                    存放仓库</td>
                <td style="width: 195px; height: 22px">
                    <asp:DropDownList ID="ddlStroe" runat="server" AppendDataBoundItems="True" Width="107px">
                    </asp:DropDownList></td>
                <td style="width: 142px; height: 22px">
                    客户</td>
                <td style="width: 383px; height: 22px">
                    <asp:DropDownList ID="ddlCustomer" runat="server" AppendDataBoundItems="True" Width="106px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 160px">
                    退库类型</td>
                <td style="width: 195px">
                    <asp:DropDownList ID="ddlQuit" runat="server" AppendDataBoundItems="True" Width="107px">
                    </asp:DropDownList></td>
                <td style="width: 142px">
                    退库人</td>
                <td style="width: 383px">
                    <asp:TextBox ID="txtSign" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 160px; height: 27px">
                    退库部门</td>
                <td style="width: 195px; height: 27px">
                    <asp:DropDownList ID="ddlDepartment" runat="server" AppendDataBoundItems="True" Width="106px">
                    </asp:DropDownList></td>
                <td style="width: 142px; height: 27px">
                    经办人</td>
                <td style="width: 383px; height: 27px">
                    <asp:TextBox ID="txtQuitMan" runat="server"></asp:TextBox>
                    <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="查询" /></td>
            </tr>
            <tr>
                <td colspan="4" rowspan="5" style="height: 109px">
                    &nbsp;<asp:DataList ID="DataList1" runat="server" GridLines="Horizontal" Width="451px" BorderColor="Black" BorderWidth="1px" CellSpacing="1">
                        <ItemTemplate>
                            <table width="376">
                                <tr>
                                    <td style="width: 94px">
                                        <asp:Label ID="Label3" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.WzID") %>'></asp:Label></td>
                                    <td style="width: 94px">
                                        <asp:Label ID="Label4" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.Name") %>'></asp:Label></td>
                                    <td style="width: 94px">
                                        <asp:Label ID="Label5" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.Mode") %>'></asp:Label></td>
                                    <td style="width: 94px">
                                        <asp:Label ID="Label6" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.Card") %>'></asp:Label></td>
                                </tr>
                            </table>
                        </ItemTemplate>
                        <HeaderTemplate>
                            <table width="376">
                                <tr>
                                    <td style="width: 94px;">
                                        物资编号</td>
                                    <td style="width: 94px;">
                                        物资名称</td>
                                    <td style="width: 94px;">
                                        型号</td>
                                    <td style="width: 94px;">
                                        品牌</td>
                                </tr>
                            </table>
                        </HeaderTemplate>
                        <FooterTemplate>
                            <table width="376">
                                <tr>
                                    <td style="width: 110px; height: 17px">
                                        出库物资数量统计：</td>
                                    <td style="width: 91px; height: 17px">
                                        <asp:Label ID="Label7" runat="server" Text="<%# totalnum %>"></asp:Label></td>
                                    <td style="width: 90px; height: 17px">
                                        出库金额统计：</td>
                                    <td style="width: 62px; height: 17px">
                                        <asp:Label ID="Label8" runat="server" Text="<%# totalmon %>"></asp:Label></td>
                                </tr>
                            </table>
                        </FooterTemplate>
                    </asp:DataList></td>
            </tr>
            <tr>
            </tr>
            <tr>
            </tr>
            <tr>
            </tr>
            <tr>
            </tr>
        </table>
        &nbsp;&nbsp;
    
    </div>
    </form>
</body>
</html>
